package com.ruoyi.thoroughfare.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * app用户类型业务对象
 *
 * @author Zach
 * @date 2023-11-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserTypeBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 类型名称
     */
    @NotBlank(message = "类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeName;

    /**
     * 是否付费
     */
    @NotNull(message = "是否付费不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long isPay;

    /**
     * 购买金额
     */
    @NotNull(message = "购买金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long payNumber;

    /**
     * 分红满足人数条件
     */
    @NotNull(message = "分红满足人数条件不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fhConditionNum;

    /**
     * 分红单个人员满足金额
     */
    @NotNull(message = "分红单个人员满足金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fhConditionMoney;

    /**
     * 分润比例
     */
    @NotNull(message = "分润比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long rebate;

    /**
     * 一级返佣
     */
    @NotNull(message = "一级返佣不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long rebateFirst;

    /**
     * 二级返佣
     */
    @NotNull(message = "二级返佣不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long rebateSecondary;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;


}
